/* base.css: 这里是放基本样式,包括top-nav和footer的 */

/* 初始化 start */
* {
	margin: 0;
	padding: 0;
}

::-webkit-scrollbar {
	display: none;
}



body {
	font-size: 12px;
	color: #3e4b53;
	user-select: none;
}

/* 版心 */
.w {
	width: 1200px;
	margin: 0 auto;
}

img {
	vertical-align: middle;
}

a {
	text-decoration: none;
	color: #3e4b53;
}

li {
	list-style: none;
}

h1 {
	font-size: 40px;
}
/* 初始化 end */

/* top_nav start */
#top_nav {
	position: absolute;
	z-index: 99;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	line-height: 80px;
	font-size: 18px;
	background-color: rgba(0, 0, 0, .3);
}

.downNav {
	background-color: white !important;
	box-shadow: 0px 2px 30px 1px #647a86;
}

#top_nav .w {
	height: 100%;
}

#top_nav img {
	height: 100%;
	/* 解决一下logo显示不清的状况 */
	/* 到时候用美图秀秀将图片改成白色*/
	/* filter:contrast(300%); */
	filter: saturate(0) brightness(3);
}

.downNav img {
	filter: contrast(300%) !important;
}

#top_nav .w>img {
	float: left;
}

#top_nav .w>ul {
	float: right;
}

#top_nav ul {
	margin-left: 0px;
	height: 100%;
}

#top_nav li {
	display: inline-block;
	height: 100%;
}

#top_nav li a {
	position: relative;
	display: block;
	/* 左右padding撑开盒子 */
	padding: 0 7px 0 7px; 
	height: 100%;
	color: white;
	opacity: .9;
}

#top_nav li .downLink {
	color: #3e4b53;
}

#top_nav li a::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(0);
	margin-top: 20px;
	height: 2px;
	width: 100%;
	background-color: #70c000;
	transition: all .25s;
	transition-delay: .1s;
}

#top_nav li a:hover::after {
	transform: translate(-50%, -50%) scale(1);
}
/* top_nav end */

/* footer start */
#footer {
	height: 300px;
	background: url(../upload/imgHeader.jpg) no-repeat fixed center bottom;
	background-size: cover;
}

#footer .w {
	background-color: rgba(0, 0, 0, .3);
	box-sizing: border-box;
	padding: 70px;
}

#footer .w * {
	color: white;
	line-height: 20px;
	font-weight: 500;
}
#footer .w dd {
	text-indent: 1em;
}

#footer .w dt {
	font-size: 15px;
}
/* footer end */

/* guide start */
#guide{
	display: none;
	position: absolute;
	background-color: #e8dfc4;
	color: #3E4B53;
	height: 18px;
	line-height: 18px;
	pointer-events: none;
}
/* guide end */

/* viewer start */
#viewer {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, .3);
}

#viewer img {
	position: absolute;
	width: 60%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
/* viewer end */